# 静默的猫和狗
# 改你在练习10-8中编写的except 代码块，让程序在任意文件不存在时静默失败

try:
    with open('cat.txt', encoding='utf-8') as f:
        print(f.read())
except FileNotFoundError:
    pass

try:
    with open('dog.txt', encoding='utf-8') as f:
        print(f.read())
except FileNotFoundError:
    pass
